package io;

import java.io.File;

public class IODemo3 {
    public static void main(String[] args) throws InterruptedException {
        File file = new File("./credits.txt");
        //System.out.println(file.delete());
        file.deleteOnExit();
        Thread.sleep(5000);
    }
}
